/*
 * 项目名称:MySpringMVC
 * 类名称:HandlerModel.java
 * 包名称:com.ly.springMVC.bean
 *
 * 修改履历:
 *      日期                修正者      主要内容
 *      2019-03-25 09:00    apple      初版完成
 *
 * Copyright (c) 2017-2019 咨同科技
 */
package com.ly.springMVC.bean;

import java.lang.reflect.Method;
import java.util.Map;

/**
 * 装载Method的javaBean
 *
 * @author apple
 */
public class HandlerModel {

    Method method;
    Object controller;
    Map<String, Integer> paramMap;

    public HandlerModel(Method method, Object controller, Map<String, Integer> paramMap) {
        this.method = method;
        this.controller = controller;
        this.paramMap = paramMap;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public Object getController() {
        return controller;
    }

    public void setController(Object controller) {
        this.controller = controller;
    }

    public Map<String, Integer> getParamMap() {
        return paramMap;
    }

    public void setParamMap(Map<String, Integer> paramMap) {
        this.paramMap = paramMap;
    }
}